Imports System.Windows.Forms

Public Class Main

    Private Sub Main_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
        Resources.PluginManager.unloadPlugins()
    End Sub

    Private Sub Main_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        initialize()
        Resources.Application.MainForm = Me
        Resources.PluginManager.loadPlugins()
        Resources.PluginManager.notify(New Core.BaseNotifiableEvent("Startup"), Nothing)

    End Sub
End Class
